
# RRWebPlugin API#api

## constructor()#constructor

- 类型

  ```ts
  import type { recordOptions } from 'rrweb/typings/types';
  import type { eventWithTime } from '@rrweb/types';

  interface Options extends recordOptions<eventWithTime> {
    // 预留配置，暂不可用
    allowOnline?: true;
  }
  declare class RRWebPlugin implements PageSpyPlugin {
      constructor(options?: Options);
  }
  ```
